package io_common

import (
	"clean/infra/io/driver"
	"clean/usecase"
)

type Handler struct {
	usecase.Input
}

func NewHandler(input usecase.Input) *Handler {
	h := &Handler{
		Input: input,
	}
	return h
}

func (h *Handler) Init(r *io_driver.CommonRouter) {
	r.Register("InputHello", h.Hello)
}
